#ifndef UDPAPP_H
#define UDPAPP_H

#include <QWidget>
#include <QUdpSocket>
namespace Ui {
class UdpApp;
}

class UdpApp : public QWidget
{
    Q_OBJECT

public:
    explicit UdpApp(QWidget *parent = 0);
    ~UdpApp();

private slots:
    void get_ip();
    void on_searchBt_clicked();

private:
    Ui::UdpApp *ui;
    QUdpSocket msocket;
};

#endif // UDPAPP_H
